@import '../base/variables.scss';
.com-file-upload {
	ul {
	    list-style: none;
	    margin: 0;
	    padding: 0;
	    display: block;
	}
	li {
		float: left;
	    margin-right: 9px;
	    margin-bottom: 9px;
	    width: 100px;
	    height: 100px;
	    background: no-repeat;
	    background-size: cover;
	    background-position: center;
	    display: inline-block;
	    border: 1px solid #d9d9d9;
	    position: relative;
	    display: list-item;
	    cursor: pointer;
		.delete {
			color: white;
		    position: absolute;
		    top: 5px;
		    right: 5px;
		    width: 20px;
		    height: 20px;
		    line-height: 20px;
		    text-align: center;
		    background-color: #c9302c;
		    border-radius: 50%;
		    display: none;
		}
		&:hover {
			.delete {
				display: block;
			}
		}
	}
	img {
		width: 100px;
	    height: 100px;
	    max-width: 100px;
	}
	.com-file-detail {
		width: 100%;
	    display: inline-block;
	    position: absolute;
	    position: absolute;
	    bottom: 0;
	    left: 0;
	    right: 0;
	    min-height: 20px;
	    padding: 2px 4px 4px;
	    background-color: #ffffff;
	    color: #333333;
	    white-space: nowrap;
	    text-overflow: ellipsis;
	    border-top: 1px solid #d9d9d9;
	    overflow: hidden;
	    opacity: 0.8;
	}
}